package com.chatplus.application.domain.request.admin;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 用户会话查询
 *
 * @author chj
 * @date 2024/3/1
 **/
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class ChatItemQueryRequest implements Serializable {
    /**
     * title : 22
     * created_at : ["2024-03-01","2024-03-16"]
     * page : 1
     * page_size : 15
     * user_id : 22
     */
    @JsonProperty("title")
    private String title;
    @JsonProperty("page")
    private int page;
    @JsonProperty("page_size")
    private int pageSize;
    @JsonProperty("user_id")
    private Long userId;
    // 日期范围，格式：yyyy-MM-dd
    @JsonProperty("created_at")
    private List<String> createdAt;
}
